package com.navi.loaddata.core.oracleEntity;

import com.navi.loaddata.core.oracleEntity.array.EtlArrayProductV;
import com.navi.loaddata.core.oracleEntity.cell1.EtlCellProductV;
import com.navi.loaddata.core.oracleEntity.cell2.EtlCell2ProductV;
import com.navi.loaddata.core.oracleEntity.cf.EtlCfProductV;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * Created by Jay on 2018/3/27.
 */

@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface EtlProductVMapper {

    EtlProductVMapper INSTANCE = Mappers.getMapper(EtlProductVMapper.class);

    EtlArrayProductV etlProductToArray(EtlProductV productVMapper);
    List<EtlArrayProductV> etlProductToArray(List<EtlProductV> list);


    EtlCfProductV etlProductToCf(EtlProductV productVMapper);
    List<EtlCfProductV> etlProductToCf(List<EtlProductV> list);

    EtlCellProductV etlProductToCell1(EtlProductV productVMapper);
    List<EtlCellProductV> etlProductToCell1(List<EtlProductV> list);


    EtlCell2ProductV etlProductToCell2(EtlProductV productVMapper);
    List<EtlCell2ProductV> etlProductToCell2(List<EtlProductV> list);

}
